package com.example.administrator.yuejian35.Home.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian35.R;
import com.example.administrator.yuejian35.button.ShineButton;

/**
 * Created by JUSTIN on 2017/9/26.
 */

public class GameViewHolder extends RecyclerView.ViewHolder {

    public TextView name;
    public ImageView pic;
    public TextView like;
    public ShineButton hit;



    public View itemView;  //添加监听器

    public GameViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;

        name = (TextView) itemView.findViewById(R.id.game_name);

        like= (TextView) itemView.findViewById(R.id.game_like);

        pic= (ImageView) itemView.findViewById(R.id.game_pic);

        hit = (ShineButton) itemView.findViewById(R.id.game_hit);
    }
}
